﻿using System;
namespace RBAC.ORM.Model
{
    /// <summary>
    /// 实体类SLogin 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class SLogin
    {
        public SLogin()
        { }
        #region Model
        private string _userid;
        private string _password;
        private string _question;
        private string _answer;
        private DateTime _lastlogintime;
        private string _lastloginip;
        private decimal _logincounts;
        private string _lastupdater;
        private DateTime _lastupdatetime;
        private int _enable;
        /// <summary>
        /// 用户ID
        /// </summary>
        public string userID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string password
        {
            set { _password = value; }
            get { return _password; }
        }
        /// <summary>
        /// 密码提示问题
        /// </summary>
        public string question
        {
            set { _question = value; }
            get { return _question; }
        }
        /// <summary>
        /// 密码提示答案
        /// </summary>
        public string answer
        {
            set { _answer = value; }
            get { return _answer; }
        }
        /// <summary>
        /// 最后登录时间
        /// </summary>
        public DateTime lastlogintime
        {
            set { _lastlogintime = value; }
            get { return _lastlogintime; }
        }
        /// <summary>
        /// 最后登录IP
        /// </summary>
        public string lastloginip
        {
            set { _lastloginip = value; }
            get { return _lastloginip; }
        }
        /// <summary>
        /// 登录总次数
        /// </summary>
        public decimal logincounts
        {
            set { _logincounts = value; }
            get { return _logincounts; }
        }
        /// <summary>
        /// 最后更新者
        /// </summary>
        public string lastUpdater
        {
            set { _lastupdater = value; }
            get { return _lastupdater; }
        }
        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime lastUpdateTime
        {
            set { _lastupdatetime = value; }
            get { return _lastupdatetime; }
        }
        /// <summary>
        /// 账户是否可用
        /// </summary>
        public int enable
        {
            set { _enable = value; }
            get { return _enable; }
        }
        #endregion Model

    }
}


